package list;

import android.graphics.Bitmap;

public class MyData {
	public String mName;
	public String mMsg;
	public boolean isSend;
	public boolean isDate;
	public boolean isPicture;
	public Bitmap mPic;
	
	public MyData(boolean is, boolean isD, boolean ip, Bitmap bm){
		isSend = is;
		isDate = isD;
		isPicture = ip;
		mPic = bm;
	}
	
	public MyData(boolean isD, boolean isP){
		isDate = isD;
		isPicture = isP;
	}
	
	public MyData(String msg){
		mMsg = msg;
		
	}
	
	public MyData(String msg, boolean is, boolean isD, boolean isP){
		mMsg = msg;
		isSend = is;
		isDate = isD;
		isPicture = isP;
	}
	
	public MyData(String name, String msg, boolean is, boolean isD, boolean isP){
		mName = name;
		mMsg = msg;
		isSend = is;
		isDate = isD;
		isPicture = isP;
	}
	
	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return mName +" : " +mMsg;
	}
	
	
}
